import { Button } from "antd-mobile";
import { useNavigate } from "react-router-dom";
function CCG() {
  const navigate = useNavigate()
  return (
    <div>
      <Button
        style={{
          color: "#fff",
          backgroundColor: "orange",
          width: "90%",
          height: "45px",
          borderRadius: "15px",
          margin: "20px",
        }}
        onClick={()=>navigate('/ticket')}
      >
        查看票
      </Button>
      <Button
        style={{
          color: "orange",
          width: "90%",
          border: "solid 2px orange",
          height: "45px",
          borderRadius: "15px",
          margin: "20px",
        }}
      >
        发现更多活动
      </Button>
    </div>
  );
}

export default CCG;
